import { Component } from '@angular/core';

import {IonicPage, Platform, ViewController} from 'ionic-angular';

@IonicPage()
@Component({
  templateUrl: 'template.html'
})
export class SegmentsDemoPage {
  pet: string = "puppies";
  isAndroid: boolean = false;

  constructor(platform: Platform,
              private viewCtrl:ViewController) {
    this.isAndroid = platform.is('android');
  }

  dismiss() {
    this.viewCtrl.dismiss();
  }
}
